#!/usr/bin/env python3
# -*- coding:utf-8 -*-

import pytest


@pytest.fixture(autouse=True)
def set_history(earlyTradePage, calendar):
    '''每个测试用例执行前，时间选择倒数第二个交易日'''
    earlyTradePage.pick_date_by_index(-2)
